package com.sky.task;

import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

//@Component
@Slf4j
public class Mytask {
//    @Scheduled(cron = "0/5 * * * * ?")
    public void task1(){
        log.info("定时任务1开始执行 {}", LocalDateTime.now());
    }
}
